const moment = require("moment");

console.log(moment());

const rydj = {
  ryrq: "2020-12-31T21:41:11.000Z",
};

console.log(moment(rydj.ryrq).format("YYYY-MM-DD"));
